<!--
 * @Author: tkp
 * @Date: 2021-10-27 14:06:18
-->
<template>
  <div class="wscn-http404-container">
    <img class="pic_404" src="https://file.iviewui.com/iview-pro/icon-404-color.svg" />
    <div class="ivu-exception-content">
      <h1>404</h1>
      <div class="ivu-exception-content-desc">抱歉，你访问的页面不存在</div>
      <div class="ivu-exception-content-desc">请联系管理员...</div>
      <el-button type="primary" @click="goHome">返回上一页</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'err',
  methods: {
    goHome() {
      this.$router.go(-1);
    }
  }
}
</script>

<style lang="scss" scoped>
.wscn-http404-container {
  display: flex;
  align-content: center;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  height: 100%;
  .pic_404 {
    float: right;
    height: 360px;
    padding-right: 152px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
  }
  .ivu-exception-content {
    h1 {
      margin-bottom: 24px;
      color: #515a6e;
      font-weight: 600;
      font-size: 72px;
      line-height: 72px;
    }
    .ivu-exception-content-desc {
      margin-bottom: 16px;
      color: #808695;
      font-size: 20px;
      line-height: 28px;
    }
  }
}
</style>
